/*
 ============================================================================
 Name		: MyS60AlarmDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CMyS60AlarmDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "MyS60AlarmAppUi.h"
#include "MyS60AlarmDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CMyS60AlarmDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMyS60AlarmDocument* CMyS60AlarmDocument::NewL(CEikApplication& aApp)
	{
	CMyS60AlarmDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CMyS60AlarmDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMyS60AlarmDocument* CMyS60AlarmDocument::NewLC(CEikApplication& aApp)
	{
	CMyS60AlarmDocument* self = new ( ELeave ) CMyS60AlarmDocument( aApp );

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CMyS60AlarmDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CMyS60AlarmDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CMyS60AlarmDocument::CMyS60AlarmDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CMyS60AlarmDocument::CMyS60AlarmDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CMyS60AlarmDocument::~CMyS60AlarmDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CMyS60AlarmDocument::~CMyS60AlarmDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CMyS60AlarmDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CMyS60AlarmDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new ( ELeave )CMyS60AlarmAppUi;
	}

// End of File
